package com.zzyl.dto;

import com.zzyl.vo.ProjectPlanItemVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "护理计划传输对象", description = "护理计划传输对象")
public class NursingPlanDTO {

    @ApiModelProperty("编号")
    private Integer id;

    @ApiModelProperty(value = "排序号", example = "1")
    private Integer sortNo;

    @NotBlank(message = "计划名称不能为空")
    @ApiModelProperty(value = "名称", required = true)
    private String planName;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("护理项目计划列表")
    private List<ProjectPlanItemVO> projectPlans;

    private Integer status;
}
